﻿/*****************************************************************************/
/* Function :: CanViewGrant													 */
/*****************************************************************************/

CREATE FUNCTION [GrantManagement].[fnCanViewGrant]
(
	@GrantID BIGINT,
	@VolunteerID BIGINT
)
RETURNS bit
AS
BEGIN

	-- Return one if the specified person can view the grant, zero otherwise.  This was originally intended
	-- to perform filtering at the database level based on role (e.g., GrantManagers can only see cases they
	-- created).  However, security is handled in the application so always return one.
	RETURN 1

END
